<?php
namespace app\admin\controller;
use app\BaseController;
use think\facade\Db;
//use think\facade\Route;
use think\facade\View;
class User
{
    public function user()
    {
        $list = Db::table('ecm_user')->select();
        View::assign('list',$list);
        return View::fetch();
    }

    public function userAdd()
    {
        return view();
    }
    public function userEdit()
    {
        return view();
    }
}